<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"  "http://www.w3.org/TR/html4/strict.dtd"> 
<html>
    <head>
        <title>管理控制台</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <link rel="stylesheet" type="text/css" media="screen" href="@{'/public/stylesheets/admin.css'}">
        <link rel="stylesheet" type="text/css" media="screen" href="@{'/public/stylesheets/start/jquery-ui-1.8.7.custom.css'}">
        #{get 'moreStyles' /}
        <link rel="shortcut icon" type="image/png" href="@{'/public/images/favicon.png'}">
        <script src="@{'/public/javascripts/jquery-1.4.4.min.js'}" type="text/javascript" charset="utf-8"></script>
        <script src="@{'/public/javascripts/jquery-ui-1.8.7.custom.min.js'}" type="text/javascript" charset="utf-8"></script>
        <script type="text/javascript">
        var timeout    = 500;
        var closetimer = 0;
        var ddmenuitem = 0;

        function jsddm_open()
        {  jsddm_canceltimer();
           jsddm_close();
           ddmenuitem = $(this).find('ul').css('visibility', 'visible');}

        function jsddm_close()
        {  if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');}

        function jsddm_timer()
        {  closetimer = window.setTimeout(jsddm_close, timeout);}

        function jsddm_canceltimer()
        {  if(closetimer)
           {  window.clearTimeout(closetimer);
              closetimer = null;}}

        $(document).ready(function()
        {  $('#jsddm > li').bind('mouseover', jsddm_open)
           $('#jsddm > li').bind('mouseout',  jsddm_timer)});

        document.onclick = jsddm_close;
        
        </script>
        #{get 'moreScripts' /}
    </head>
    <body>
<div id="crud">
<div id="crudHeader">
	<h1><a href="@{CRUD.index()}">&{'crud.title'}</a></h1>
</div>
<ul id="jsddm">
	<li><a href="@{Products.list}">产品管理</a></li>
	<li><a href="@{ProductTypes.list}">产品类别管理</a></li>
	<li><a href="@{Users.list}">用户管理</a></li>
	<li><a href="@{Newses.list(1,'','','updateTime','DESC')}">信息发布</a><li>
	<li><a href="@{Messages.list(1,'','','createTime','DESC')}">留言管理</a></li>
	*{<li><a href="@{Comments.list}">评论管理</a></li>
	<li><a href="@{Mails.list}">邮件群发</a></li>}*
	<li><a href="http://mail.dental-spark.com" target="_blank">电子邮件</a></li>
	<li><a href="https://www.google.com/analytics/" target="_blank">访问统计</a></li>
	<li>
		<a href="#">支撑平台</a>
		<ul>
			<li><a href="https://admin.dental-spark.com/phpmyadmin/" target="_blank">数据库</a></li>
			<li><a href="http://www.godaddy.com/" target="_blank">域名管理</a></li>
			<li><a href="http://www.linode.com/" target="_blank">虚拟主机</a></li>
			<li><a href="https://www.google.com/a/cpanel/dental-spark.com/" target="_blank">Google应用管理</a></li>
			<li><a href="http://www.google.com/webmasters/" target="_blank">Google网站管理员工具</a></li>
			<li><a href="https://adwords.google.com" target="_blank">Adwords </a></li>
		</ul>
	</li>
	<li><a href="@{Secure.logout()}">注销</a></li>
</ul>
<div id="topMenu">&nbsp;</div>
        #{doLayout /}
</div>
    </body>
</html>
